package com.raycloud.domain;

import java.util.Date;

public class MsgRelation {
	private String dbId;
	
    private long referenceId;

    private String referenceMsgId;

    private long referencedId;

    private String referencedMsgId;

    private int type;

    private Date addTime;

    private int pageIndex;

    public long getReferenceId() {
        return referenceId;
    }

    public void setReferenceId(long referenceId) {
        this.referenceId = referenceId;
    }

    public String getReferenceMsgId() {
        return referenceMsgId;
    }

    public void setReferenceMsgId(String referenceMsgId) {
        this.referenceMsgId = referenceMsgId;
    }

    public long getReferencedId() {
        return referencedId;
    }

    public void setReferencedId(long referencedId) {
        this.referencedId = referencedId;
    }

    public String getReferencedMsgId() {
        return referencedMsgId;
    }

    public void setReferencedMsgId(String referencedMsgId) {
        this.referencedMsgId = referencedMsgId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

	public String getDbId() {
		return dbId;
	}

	public void setDbId(String dbId) {
		this.dbId = dbId;
	}
}